package com.example.moonshine.zxing.Activity;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;

import com.example.moonshine.zxing.R;
import com.github.zackratos.ultimatebar.UltimateBar;


/**
 * Created by moonshine on 2018/4/12.
 */

public class SuccessActivity extends Activity {

    public void onCreate(Bundle savdInstanceStated) {
        super.onCreate(savdInstanceStated);
        setContentView(R.layout.success_layout);
        UltimateBar.newColorBuilder()
                .statusColor(Color.parseColor("#16abd9"))       // 状态栏颜色
                .statusDepth(50)                // 状态栏颜色深度
                .build(this)
                .apply();
    }
    public void finish() {
        super.finish();
        overridePendingTransition(R.anim.down_in, R.anim.down_out);
    }
}
